package com.dk.service;

import com.dk.pojo.Warehouse;
import com.dk.result.PageResult;
import com.dk.result.Result;

public interface WarehouseService {
    PageResult<Warehouse> getWarehouseInfo(Integer pageNum, Integer pageSize, String code, String name);

    Result addWarehouse(Warehouse warehouse, String token);

    Result updateWarehouse(Warehouse warehouse, String token);

    void deleteWarehouse(Integer wid);

    Warehouse selectByWarehouseName(String warehouseName);
}
